package com.zmytest.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;

/**
 * Created on 2018/12/19.
 *
 * @author zhangmingyu
 */
@Data
public class UserDto {
    private Long id;
    private String name;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate birth;
    private String mail;
}
